package com.hzbc.faceattendance.model;

import jakarta.persistence.*;
import lombok.Data;

/**
 * @author junmu
 * @time 2025-07-24 17:24:12
 */

@Data
@Entity
@Table(name = "system_config")
public class SystemConfig {

    @Column(name = "jwt_secret")
    private String jwtSecret;
    @Column(name = "jwt_expiration_ms")
    private Long jwtExpirationMs;
    @Column(name = "wechat_app_id")
    private String wechatAppId;
    @Column(name = "wechat_app_secret")
    private String wechatAppSecret;
    @Column(name = "wechat_template_id")
    private String wechatTemplateId;
    @Column(name = "wechat_access_token")
    private String wechatAccessToken;
    @Column(name = "uni_app_id")
    private String uniAppId;
    @Column(name = "uni_app_secret")
    private String uniAppSecret;
    // 修正字段映射注解
    @Column(name = "expires_time") // 添加列名映射
    private Long expiresTime;
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id; // 考勤记录唯一标识ID
    @Column(name = "message_detail_url")
    private String messageDetailUrl;


}
